Tighten yesterday's fix to work with old and new google data files.
authorrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Sat, 8 Jul 2006 18:39:58 +0000 (18:39 +0000)
committerrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Sat, 8 Jul 2006 18:39:58 +0000 (18:39 +0000)
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@2219 f51c46e8-681c-474f-0cfe-069cfd0219fb

gpsbabel/google.c

index a3e8a108fefccf757877bf4d41a4adb765ccc413..958ab66d766a1a8c0932bde79e7c8d677459bc1b 100644 (file)
@@ -329,9 +329,9 @@ google_read(void)
                  }
                  if ( panel ) {
                    panel += 8;
-                   end = strstr( panel, "/div><'," );
+                   end = strstr( panel, "/table><div class=\\\"legal" );
                    if ( end ) {
-                     strcpy(end,"</div>");
+                     strcpy(end,"/table></div>");
                      end = panel;
                      while ( (end = strstr( end, "\\\"" ))) {
                        memmove( end, end+1, strlen(end)+1 );